//-----------------------------------------------------------------------------
// TargetBL_InfoBlock.c
//-----------------------------------------------------------------------------
// Copyright (C) 2010 Silicon Laboratories, Inc.
// http://www.silabs.com
//
// Program Description:
//
// This should be located at the end of the target bootloader flash area using
// compiler/linker directives.
// 
//
//
// Target:         C8051Fxxx (Any Silicon Labs Flash MCU)
// Tool chain:     Generic
// Command Line:   None
//
//
// Release 1.0 / 01SEP2010 (PKC)
//    -Initial Revision
//
//-----------------------------------------------------------------------------

//-----------------------------------------------------------------------------
// Includes
//-----------------------------------------------------------------------------
#include "TargetBL_Config.h"
#include "TargetBL_Interface.h"

//-----------------------------------------------------------------------------
// Global Variables
//-----------------------------------------------------------------------------

const U8 code TGT_BL_InfoBlock[TGT_BL_FW_INFOBLOCK_LENGTH] =
{
    TGT_DEVICE_SERIAL1,
    TGT_DEVICE_SERIAL0,
    0x25,
    ((APP_FW_END_ADDR & 0xFF0000) >> 16),
    ((APP_FW_END_ADDR & 0xFF00) >> 8),
    (APP_FW_END_ADDR & 0xFF),
    ((APP_FW_START_ADDR & 0xFF0000) >> 16),
    ((APP_FW_START_ADDR & 0xFF00) >> 8),
    (APP_FW_START_ADDR & 0xFF),
    TGT_ENCRYPTION_TYPE,
    TGT_CRC_TYPE,
    ((TGT_BL_PKT_SIZE_CODE << 4)|(TGT_BL_BUF_SIZE_CODE & 0x0F)),
    TGT_FLASH_PAGE_SIZE_CODE,
    TGT_BL_TYPE,
    TGT_PRODUCT_CODE,
    TGT_BL_FW_VERSION_HIGH,
    TGT_BL_FW_VERSION_LOW,
    TGT_BL_FW_INFOBLOCK_LENGTH,
    TGT_BL_LOCK_BYTE
};

//-----------------------------------------------------------------------------
// End Of File
//-----------------------------------------------------------------------------
